package com.mrjy.coursepackage.dao;

import com.mrjy.common.entity.CoursePackageCommentInfo;
import com.mrjy.coursepackage.dto.CoursePackageCommentInfoDTO;

import java.util.List;

public interface ICoursePackageCommentInfoDao {
    int insert(CoursePackageCommentInfo info);

    int update(CoursePackageCommentInfo info);

    int updateById(CoursePackageCommentInfo info);

    int delete(Integer id);

    CoursePackageCommentInfo selectById(Integer id);

    int insertSelective(CoursePackageCommentInfo info);

    int updateDisableFlag(CoursePackageCommentInfo info);

    CoursePackageCommentInfo selectUserDetailByCId(CoursePackageCommentInfo id);

    List<CoursePackageCommentInfoDTO> selectPageByCid(CoursePackageCommentInfo info);

    int countSelectPageByCid(CoursePackageCommentInfo info);

    int countSelectPageList(CoursePackageCommentInfo info);

    List<CoursePackageCommentInfo> selectPageList(CoursePackageCommentInfo info);
}
